package com.pand.model.dic;

import com.pand.model.BaseObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @ClassName: SystemCode
 * @Description:系统码表
 *
 */
@Entity
@Table(name = "SYS_CODE_VALUE")
public class SystemCode extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1975161826059829083L;

	/**
	 * 主键
	 */
	private Integer id;

	/**
	 * 类型ID 
	 */
	private String type;

	/**
	 * 编码
	 */
	private String code;

	/**
	 * 名称
	 */
	private String name;

	@Id
	@Column(name = "ID")
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "TYPE_ID")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name = "CODE_VALUE")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "CODE_NAME")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
